package com.crm.controller;

import com.crm.service.user.UserService;
import org.springframework.stereotype.Controller;

import javax.annotation.Resource;

@Controller
public class UserController {
    @Resource
    private UserService userService;

//    @ResponseBody
//    @RequestMapping(value = "/find/roleName")
//    public List<User> findUsersByRoleName() throws Exception {
//        List<User> userList = userService.findUsersByRoleName();
//
//        return userList;
//    }
}